import 'package:library_base/entities/generated/json/base/json_field.dart';
import 'package:library_base/entities/generated/json/schedul_child_entity.g.dart';
import 'dart:convert';

@JsonSerializable()
class SchedulChildEntity {
  late String id;
  late String shipperName;
  late String warehouseName;
  late String orderNumber;
  late double count;
  late String orderType;
  late String consignee;
  late String mobilePhone;
  late String provinceName;
  late String cityName;
  late String areaName;
  late String villageName;
  late String address;
  late String stationTime;
  late String orderId;

  bool isSelected = false;

  SchedulChildEntity();

  factory SchedulChildEntity.fromJson(Map<String, dynamic> json) =>
      $SchedulChildEntityFromJson(json);

  Map<String, dynamic> toJson() => $SchedulChildEntityToJson(this);

  @override
  String toString() => json.encode(this);
}
